<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>技术小馆 - 项目展示</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        .hero-bg {
            background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .drop-cap::first-letter {
            font-size: 3.5rem;
            font-weight: bold;
            float: left;
            line-height: 0.8;
            margin: 0.1em 0.1em 0 0;
            color: #6e8efb;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-bg text-white py-20 md:py-32 px-4 md:px-0">
        <div class="container mx-auto max-w-6xl text-center">
            <h1 class="text-4xl md:text-6xl font-bold mb-6 font-serif">项目技术架构展示</h1>
            <p class="text-xl md:text-2xl max-w-3xl mx-auto mb-10">一个现代化、高性能的技术架构解决方案</p>
            <div class="flex justify-center space-x-4">
                <a href="#project-intro" class="px-8 py-3 bg-white text-indigo-600 rounded-full font-semibold hover:bg-opacity-90 transition">项目介绍</a>
                <a href="#code-download" class="px-8 py-3 bg-indigo-800 text-white rounded-full font-semibold hover:bg-opacity-90 transition">下载代码</a>
            </div>
        </div>
    </section>

    <!-- Introduction Section -->
    <section id="project-intro" class="py-16 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-4xl font-bold mb-4 font-serif">项目介绍</h2>
                <div class="w-20 h-1 bg-indigo-500 mx-auto"></div>
            </div>
            
            <div class="bg-white rounded-xl shadow-lg overflow-hidden mb-12 card-hover">
                <img src="https://cdn.nlark.com/yuque/0/2022/png/21449790/1651557556214-8ffc5a9b-8c19-497d-8ce5-abdd1110dcb8.png" alt="项目介绍" class="w-full h-auto">
                <div class="p-6 md:p-8">
                    <p class="drop-cap text-gray-700 mb-0">本项目采用现代化架构设计，融合了最新的前端技术和后端服务理念，打造了一个高性能、可扩展的技术平台。通过精心设计的模块划分和清晰的架构层次，实现了业务逻辑与技术实现的完美分离。</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Business Modules Section -->
    <section class="py-16 bg-gray-100 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-4xl font-bold mb-4 font-serif">业务模块</h2>
                <div class="w-20 h-1 bg-indigo-500 mx-auto"></div>
                <p class="text-gray-600 max-w-2xl mx-auto mt-4">清晰的业务模块划分是实现复杂系统的基础</p>
            </div>
            
            <div class="grid md:grid-cols-2 gap-8">
                <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="w-12 h-12 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                            <i class="fas fa-sitemap text-indigo-500 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-bold">模块化设计</h3>
                    </div>
                    <p class="text-gray-700">系统采用模块化设计理念，各业务模块功能独立且内聚，通过标准接口进行通信，确保系统的可维护性和可扩展性。</p>
                </div>
                
                <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="w-12 h-12 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                            <i class="fas fa-project-diagram text-indigo-500 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-bold">松耦合架构</h3>
                    </div>
                    <p class="text-gray-700">业务模块之间保持松耦合关系，通过事件驱动和服务调用的方式实现交互，提高系统的灵活性和可靠性。</p>
                </div>
            </div>
            
            <div class="mt-8 bg-white rounded-xl shadow-lg overflow-hidden card-hover">
                <img src="https://cdn.nlark.com/yuque/0/2022/png/21449790/1651557672771-f378150b-2d7f-4f82-b0f7-3204faddb837.png" alt="业务模块图" class="w-full h-auto">
            </div>
        </div>
    </section>

    <!-- Tech Stack Section -->
    <section class="py-16 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-4xl font-bold mb-4 font-serif">技术栈</h2>
                <div class="w-20 h-1 bg-indigo-500 mx-auto"></div>
                <p class="text-gray-600 max-w-2xl mx-auto mt-4">精选前沿技术组合，构建稳健高效的系统</p>
            </div>
            
            <div class="grid md:grid-cols-3 gap-6 mb-12">
                <div class="bg-white rounded-xl shadow-lg p-6 text-center card-hover">
                    <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-indigo-100 flex items-center justify-center">
                        <i class="fas fa-code-branch text-indigo-500 text-2xl"></i>
                    </div>
                    <h3 class="text-lg font-bold mb-2">前端技术</h3>
                    <p class="text-gray-600 text-sm">React/Vue, TypeScript, TailwindCSS, Webpack</p>
                </div>
                
                <div class="bg-white rounded-xl shadow-lg p-6 text-center card-hover">
                    <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-indigo-100 flex items-center justify-center">
                        <i class="fas fa-server text-indigo-500 text-2xl"></i>
                    </div>
                    <h3 class="text-lg font-bold mb-2">后端技术</h3>
                    <p class="text-gray-600 text-sm">Spring Boot, Node.js, Django, MySQL</p>
                </div>
                
                <div class="bg-white rounded-xl shadow-lg p-6 text-center card-hover">
                    <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-indigo-100 flex items-center justify-center">
                        <i class="fas fa-cloud text-indigo-500 text-2xl"></i>
                    </div>
                    <h3 class="text-lg font-bold mb-2">云计算</h3>
                    <p class="text-gray-600 text-sm">Docker, Kubernetes, AWS, CI/CD</p>
                </div>
            </div>
            
            <div class="bg-white rounded-xl shadow-lg overflow-hidden card-hover">
                <img src="https://cdn.nlark.com/yuque/0/2022/png/21449790/1651557755432-2ee685ec-dde9-49df-97b6-29594a18d544.png" alt="技术栈图" class="w-full h-auto">
            </div>
        </div>
    </section>

    <!-- Architecture Section -->
    <section class="py-16 bg-gray-100 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-4xl font-bold mb-4 font-serif">项目架构</h2>
                <div class="w-20 h-1 bg-indigo-500 mx-auto"></div>
                <p class="text-gray-600 max-w-2xl mx-auto mt-4">清晰的架构设计是系统成功的基石</p>
            </div>
            
            <div class="grid md:grid-cols-2 gap-8 mb-12">
                <div>
                    <h3 class="text-xl font-bold mb-4">架构特点</h3>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-indigo-500 mt-1 mr-2"></i>
                            <span class="text-gray-700">分层架构设计，职责明确</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-indigo-500 mt-1 mr-2"></i>
                            <span class="text-gray-700">微服务化部署，灵活扩展</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-indigo-500 mt-1 mr-2"></i>
                            <span class="text-gray-700">前后端分离，独立演进</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-indigo-500 mt-1 mr-2"></i>
                            <span class="text-gray-700">自动化运维，高效可靠</span>
                        </li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-xl font-bold mb-4">架构优势</h3>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <i class="fas fa-star text-indigo-500 mt-1 mr-2"></i>
                            <span class="text-gray-700">高性能，支持高并发访问</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-star text-indigo-500 mt-1 mr-2"></i>
                            <span class="text-gray-700">高可用，故障自动恢复</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-star text-indigo-500 mt-1 mr-2"></i>
                            <span class="text-gray-700">易维护，模块化设计</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-star text-indigo-500 mt-1 mr-2"></i>
                            <span class="text-gray-700">可扩展，支持业务增长</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <div class="bg-white rounded-xl shadow-lg overflow-hidden card-hover">
                <img src="https://cdn.nlark.com/yuque/0/2022/png/21449790/1651557717733-871041ed-a6f0-4af2-a113-5155a75f52f3.png" alt="项目架构图" class="w-full h-auto">
            </div>
        </div>
    </section>

    <!-- Code Download Section -->
    <section id="code-download" class="py-16 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl">
            <div class="text-center mb-12">
                <h2 class="text-3xl md:text-4xl font-bold mb-4 font-serif">代码下载</h2>
                <div class="w-20 h-1 bg-indigo-500 mx-auto"></div>
            </div>
            
            <div class="bg-white rounded-xl shadow-lg p-8 text-center card-hover">
                <div class="w-20 h-20 mx-auto mb-6 rounded-full bg-indigo-100 flex items-center justify-center">
                    <i class="fas fa-download text-indigo-500 text-3xl"></i>
                </div>
                <h3 class="text-xl font-bold mb-4">获取项目源代码</h3>
                <p class="text-gray-600 mb-6">点击下方链接下载完整的项目源代码，包含所有模块和文档</p>
                <a href="https://pan.baidu.com/s/1cr0okGu5t3_lKYsD2E0qHA" target="_blank" class="inline-block px-8 py-3 bg-indigo-600 text-white rounded-full font-semibold hover:bg-indigo-700 transition">
                    <i class="fas fa-cloud-download-alt mr-2"></i>下载代码 (提取码: etbb)
                </a>
            </div>
        </div>
    </section>

    <!-- Architecture Diagram with Mermaid -->
    <section class="py-16 bg-gray-100 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl">
            <div class="text-center mb-12">
                <h2 class="text-3xl md:text-4xl font-bold mb-4 font-serif">架构关系图</h2>
                <div class="w-20 h-1 bg-indigo-500 mx-auto"></div>
                <p class="text-gray-600 max-w-2xl mx-auto mt-4">可视化系统各组件之间的关系</p>
            </div>
            
            <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                <div class="mermaid">
                    graph TD
                        A[客户端] -->|HTTP/WebSocket| B(API网关)
                        B --> C[用户服务]
                        B --> D[订单服务]
                        B --> E[支付服务]
                        B --> F[库存服务]
                        C --> G[(用户数据库)]
                        D --> H[(订单数据库)]
                        E --> I[(支付数据库)]
                        F --> J[(库存数据库)]
                        C -->|消息队列| K[通知服务]
                        D -->|消息队列| K
                        E -->|消息队列| K
                        K --> L[短信/邮件服务]
                        style A fill:#6e8efb,color:#fff
                        style B fill:#a777e3,color:#fff
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-12 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl">
            <div class="text-center">
                <h3 class="text-xl font-bold text-white mb-2">技术小馆</h3>
                <p class="mb-4">探索技术的无限可能</p>
                <a href="http://www.yuque.com/jtostring" target="_blank" class="text-indigo-400 hover:text-indigo-300 transition">http://www.yuque.com/jtostring</a>
                <div class="mt-6">
                    <a href="#" class="text-gray-400 hover:text-white mx-2"><i class="fab fa-github text-xl"></i></a>
                    <a href="#" class="text-gray-400 hover:text-white mx-2"><i class="fab fa-weixin text-xl"></i></a>
                    <a href="#" class="text-gray-400 hover:text-white mx-2"><i class="fab fa-zhihu text-xl"></i></a>
                </div>
            </div>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
    </script>
</body>
</html>